projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2a6c31b
)
(eval-expression): Bind standard-output in to-buffer case.
author
Richard M. Stallman
<rms@gnu.org>
Mon, 22 Sep 2003 15:11:02 +0000
(15:11 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Mon, 22 Sep 2003 15:11:02 +0000
(15:11 +0000)
lisp/simple.el
patch
|
blob
|
history
diff --git
a/lisp/simple.el
b/lisp/simple.el
index ed2d57150ba566579cc47a792c15447519051078..b0d5f7295f9feecb8228ea5dfcccf38f44d8ea77 100644
(file)
--- a/
lisp/simple.el
+++ b/
lisp/simple.el
@@
-663,7
+663,8
@@
the echo area."
(print-level eval-expression-print-level))
(if eval-expression-insert-value
(with-no-warnings
- (eval-last-sexp-print-value (car values)))
+ (let ((standard-output (current-buffer)))
+ (eval-last-sexp-print-value (car values))))
(prin1 (car values) t))))
(defun edit-and-eval-command (prompt command)